package com.ruoyi.purchase.mapper;

import java.util.List;
import com.ruoyi.purchase.domain.PurchaseStoreDetail;

/**
 * 入库详情Mapper接口
 * 
 * @author wonderland
 * @date 2023-07-17
 */
public interface PurchaseStoreDetailMapper 
{
    /**
     * 查询入库详情
     * 
     * @param id 入库详情主键
     * @return 入库详情
     */
    public PurchaseStoreDetail selectPurchaseStoreDetailById(Long id);

    /**
     * 查询入库详情列表
     * 
     * @param purchaseStoreDetail 入库详情
     * @return 入库详情集合
     */
    public List<PurchaseStoreDetail> selectPurchaseStoreDetailList(PurchaseStoreDetail purchaseStoreDetail);

    /**
     * 新增入库详情
     * 
     * @param purchaseStoreDetail 入库详情
     * @return 结果
     */
    public int insertPurchaseStoreDetail(PurchaseStoreDetail purchaseStoreDetail);

    /**
     * 修改入库详情
     * 
     * @param purchaseStoreDetail 入库详情
     * @return 结果
     */
    public int updatePurchaseStoreDetail(PurchaseStoreDetail purchaseStoreDetail);

    /**
     * 删除入库详情
     * 
     * @param id 入库详情主键
     * @return 结果
     */
    public int deletePurchaseStoreDetailById(Long id);

    /**
     * 批量删除入库详情
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePurchaseStoreDetailByIds(Long[] ids);
}
